<?php 
	$listingContent = $this->render('index',false);
	$tabs->addTab(__("Listings"), $listingContent, array('tab_id' => 'listings_tab_content'));
	$tabs->addTab(__("Reviews"), "", array('tab_id' => 'reviews_tab_content'));
	echo $tabs->show(array('output_js'=>true,'container_id'=>"search_result"));	
?>
<script type="text/javascript">
	$(document).ready(function(){
			$('#reviews_tab_content').load("<?php echo $html->url(array('controller'=>"reviews",'action'=>"index",'search','search'=>urlencode($search),'combined'=>1))?>");
		})
</script>